﻿<controls:ChildWindow xmlns:my1="clr-namespace:Groupbox;assembly=Groupbox"  xmlns:my="clr-namespace:VAdvantage.Controls"  x:Class="VAdvantage.Dialogs.VAccountDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="713" Height="493" 
           Title="VAccountDialog">
    <Grid x:Name="LayoutRoot" Margin="0">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="0" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" >
                </ColumnDefinition>
                <ColumnDefinition Width="Auto" >
                </ColumnDefinition>
            </Grid.ColumnDefinitions>
            <my1:GroupBox x:Name="gpTitle" Margin="1" Grid.Column="0" Header="Parameter" >
                <Grid x:Name="tblParaMeter">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                        <ColumnDefinition Width="4"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"></RowDefinition>
                    </Grid.RowDefinitions>
                </Grid>
            </my1:GroupBox>
            <StackPanel x:Name="toolBar" Orientation="Vertical" Grid.Column="1" Margin="1">
                <Button Name="btnRefresh" Height="28" Width="28" Margin="1,7,1,1" Click="btnRefresh_Click">
                    <Image Source="/VAdvantage;component/Images/Refresh22.png" Stretch="Fill"></Image>
                </Button>
                <Button Name="btnIgnore" Height="28" Width="28" Margin="1" Click="btnIgnore_Click">
                    <Image Source="/VAdvantage;component/Images/Ignore22.png" Stretch="Fill"></Image>
                </Button>
                <Button Name="btnSave" Height="28" Width="28" Margin="1" Click="btnSave_Click">
                    <Image Source="/VAdvantage;component/Images/Save22.png" Stretch="Fill"></Image>
                </Button>
                
            </StackPanel>
        </Grid>
        
        <Grid Grid.Row="1" Name="tblMain">
        </Grid>
        
        <Button x:Name="CancelButton"  Click="CancelButton_Click" Width="40" Height="40" HorizontalAlignment="Right" Margin="1,1,42,1" Grid.Row="2" >
            <Image Stretch="Fill" Source="/VAdvantage;component/Images/cancel_up.png"  />
        </Button>
        <Button x:Name="OKButton" Click="OKButton_Click" Width="40" Height="40" HorizontalAlignment="Right" Margin="1" Grid.Row="2" >
            <Image Stretch="Fill" Source="/VAdvantage;component/Images/right_up.png"  />
        </Button>

        <my:VStatusBar x:Name="statusBar" Grid.Row="3" />

    </Grid>
</controls:ChildWindow>